<template>
  <div>
    <div>
      <h4>评估A</h4>
      <el-row type="flex" justify="space-between">
        <el-col>
          <div>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder="请描述:"
              v-model="pgForm.assess_A_textarea1">
            </el-input>
          </div>
        </el-col>
        <el-col>
          <div>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder="其他"
              v-model="pgForm.assess_A_textarea2">
            </el-input>
          </div>
        </el-col>
        <el-col>
          <span>功能性经口进食分级(FOIS)</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.assess_A_radio">
              <el-radio :label="1">1级：不能经口进食</el-radio>
              <el-radio :label="2">2级：依赖管饲进食，最小量进食食物或液体</el-radio>
              <el-radio :label="3">3级：依赖管饲进食，经口进食单一质地的食物或液体</el-radio>
              <el-radio :label="4">4级：完全经口进食单一质地的食物</el-radio>
              <el-radio :label="5">5级：完全经口进食多种质地的食物，但需要特殊的准备或代偿</el-radio>
              <el-radio :label="6">6级：完全经口进食不需要特殊的准备，但有特殊的食物限制</el-radio>
              <el-radio :label="7">7级：完全经口进食没有限制</el-radio>
              <el-input v-model="pgForm.assess_A_input" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "assess_A",
  title: "评估A",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm:{
        assess_A_textarea1: '',
        assess_A_textarea2: '',
        assess_A_radio: '',
        assess_A_input: ''
      }
    }
  }
}
</script>

<style scoped>

.el-radio-group{
  padding: 10px 20px;
}
.el-radio{
  display: block;
  margin-bottom: 15px;
}
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
</style>
